package com.eastmoney.emis.edda.task.edda;

import com.eastmoney.emis.edda.domain.entity.EddaApply;
import com.eastmoney.emis.edda.task.AbstractTask;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.task
 * @author: 汪程程
 * @date: 2022/10/10 2:22 PM
 * @version: 1.0
 */
public class EddaAuthEnquiryTask extends AbstractTask {

    private EddaApply eddaApply;
    private String processUid;
    private String processUserName = "system";

    public EddaAuthEnquiryTask(EddaApply eddaApply) {
        this.eddaApply = eddaApply;
        this.id = eddaApply.getClientId() + eddaApply.getBankAccount();
    }

    public EddaApply getEddaApply() {
        return eddaApply;
    }

    public void setEddaApply(EddaApply eddaApply) {
        this.eddaApply = eddaApply;
    }

    public String getProcessUid() {
        return processUid;
    }

    public void setProcessUid(String processUid) {
        this.processUid = processUid;
    }

    public String getProcessUserName() {
        return processUserName;
    }

    public void setProcessUserName(String processUserName) {
        this.processUserName = processUserName;
    }

    @Override
    public String getId() {
        return super.getId().substring(0,10);
    }
}
